package com.jzbooks.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mingPeng
 * @date 2021/4/27 15:29
 * @Description : 书籍类型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("书籍类型")
@TableName(value = "type")
public class Type extends BaseEntity{

    @ApiModelProperty("书籍类型名称")
    @TableField(value = "type_name")
    private String typeName;

    public static final String COL_TYPE_NAME = "type_name";
}
